@extends('admin/layout')
@section('title','商品管理')
@section('content')
<!-- Content Header (Page header) -->
<section class="content-header">
  <h1>
    商品属性
    <small>商品属性</small>
  </h1>
  <ol class="breadcrumb">
  	<li><a href="{{asset('admin/index')}}"><i class="fa fa-th"></i> 商品属性</a></li>
    <li><i class="fa fa-users"></i> 商品属性</li>
    <li><a href="{{asset('admin/member')}}"><i class="fa fa-user"></i> 商品属性</a></li>
    <li class="active">商品属性</li>
  </ol>
</section>

<!-- Main content -->
<section class="content">
  <div class="row">
    <div class="col-md-12">
      <!-- box start -->
      <div class="box box-info">
      <div class="box-header with-border">
        <h3 class="box-title"><i class="fa fa-user"> 商品属性</i></h3>
      </div>
      <div class="box-body">
        <div class="row">
          <div class="col-md-3">
            <div class="btn bg-orange">颜色列表</div>
          </div>
        </div>
        <div class="row">
          &nbsp;
        </div>
        
        <div class="row">
          &nbsp;
        </div>
        <div class="table-responsive">
        <table id="member_list" class="table table-bordered table-striped text-center">
          <thead>
          <tr>
            <th>ID</th>
            <th>颜色种类</th>
            <th>color_name_en</th>
            <th>颜色</th>
            </tr>
          </thead>
          <tbody>
          @foreach($cdata as $key => $val)
          <tr>
            <td>{{$val -> color_id}}</td>
            <td>{{$val -> color_name_zh}}</td>
            <td>{{$val -> color_name_en}}</td>
            <td><div style="margin:0 auto;width:20px;height:20px;border:1px solid black;background:{{$val -> color_hex_code}}"></div></td>
          </tr>
          @endforeach
          </tbody>
          <tfoot>
          <tr>
            <th colspan="5"></th>
            <th colspan="3">
            </th>
          </tr>
          </tfoot>
        </table>
        </div>
        </div>

        <p>&nbsp;</p>

        <div class="box-body">
        <div class="row">
          <div class="col-md-3">
            <div class="btn bg-orange">尺码列表</div>
          </div>
        </div>
        <div class="row">
          &nbsp;
        </div>
        <div class="row">
          &nbsp;
        </div>
        <div class="table-responsive">
        <table id="member_list" class="table table-bordered table-striped text-center">
          <thead>
          <tr>
            <th>ID</th>
            <th>尺码</th>
            <th>尺码商品标号</th>  
          </tr>
          </thead>
          <tbody>
          @foreach($sdata as $key => $val)
          <tr>
            <td>{{$val -> size_id}}</td>
            <td>{{$val -> size_size}}</td>
            <td>{{$val -> size_pro_code}}</td>
            <td>
           
            </td>
          </tr> 
          @endforeach
          </tbody>
          <tfoot>
          <tr>
            <th colspan="5"></th>
            <th colspan="3">
            </th>
          </tr>
          </tfoot>
        </table>
        </div>
        </div>
      <!-- /.box-body -->
      <!-- /.box -->        
    </div>
  </div>
</section>
<!-- /.content -->
@stop